{extend name="public/base" /} {block name="body"}
<div class="row content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong><a href="{:url('index')}" >会员详情</a>  / 充次记录</strong></li>
	</ol>
</div>
<div class="ibox float-e-margins">
	{include file="line_Member/memberInfoTop"}
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('chongciInfo',['id' =>$id])}">
		 	<div class="form-group">
	          	<label class="col-sm-1 control-label">会员卡号</label>
				<div class="col-sm-5 input-group">
	                <div class="input-group">
	                    <input type="text" id="member_no" name="member_no"  placeholder="请输入会员卡号" class="input-sm form-control"> <span class="input-group-btn">
	                        <button type="submit" class="btn btn-sm btn-primary" style="margin-left: 10px;"><i class="fa fa-search">&nbsp;搜索</i></button> </span>
	                </div>
	            </div>
	       	</div>
       </form>
       <div class="hr-line-dashed"></div>
            <div class="example-wrap">
				<div class="example">				
					<table class="table table-bordered table-hover">
						<thead>
							<tr class="long-th">
	                            <th>交易时间</th>
	                            <th>充次商品</th>
	                            <th>收款/退款金额</th>	 
	                            <th>备注</th>
	                            <th>操作员</th>
	                            <th>门店</th>
	                        </tr>
	                    </thead>
	                    <tbody id="list" style="text-align: center;">
	                    	{volist name="list" id='ad'}
		                    	<tr>
		                    		<td>{$ad.add_time}</td> 
		                    		<td>{if $ad.pay_method==1}现金
		                    		    {elseif $ad.pay_method==2}会员卡
		                    		    {elseif $ad.pay_method==3}微信
		                    		    {elseif $ad.pay_method==4}支付宝
		                    			{/if}
		                    		</td>  
		                    		<td>{$ad.pay_money} （*收款）</td>  
		                    		<td>{$ad.memo}</td> 
		                    		<td>{$ad.mobile}</td>
		                    		<td>{$ad.store_name}</td>		                    				                    		
		                    	</tr>
                        	{/volist}
	                    </tbody>
	                </table>
                </div>
            </div>
        </div>
	</div>	
</div>
{/block} {block name="script"}

<script>
$("#li-bar-pintuan1").addClass("active");
</script>
<style>
.bank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>

{/block}